#include <algorithm/analytical_model/algorithm/Center.h>
#include <algorithm/shared/data/topology/geometry/Cylinder3D.h>
#include <utils/ParaUtils.h>

template <> auto solar::center(Cylinder3D* rect, bool lazy) -> Vec3
{
    const auto current_center = SOLAR_GET_VALUE(Cylinder3D, center_, *rect);
    // solar::println(solar::toString(current_center));
    if (solar::hasValue(current_center))
    {
        return current_center;
    }
    throw "solar::center<Cylinder3D>: Not implemented";
}
